import Layout from '@/page/index/'

export default [{
  path: '/wel',
  component: Layout,
  redirect: '/index/index',
  children: [{
    path: 'index',
    name: '我的首页',
    meta: {
      i18n: '',
      keepAlive: true
    },
    component: () =>
      import( /* webpackChunkName: "views" */ '@/views/index')
  }]
}, {
  path: '/general/project',
  component: Layout,
  redirect: '/general/project/index',
  children: [{
    path: 'index',
    name: '项目首页',
    meta: {
      i18n: ''
    },
    component: () =>
      import( /* webpackChunkName: "views" */ '@/views/general/project/index')
  }]
}, 
{
  path: '/info',
  component: Layout,
  redirect: '/info/index',
  children: [{
    path: 'index',
    name: '个人信息',
    meta: {
      i18n: 'info'
    },
    component: () =>
      import( /* webpackChunkName: "views" */ '@/views/system/user/info')
  }]
},{
  path: '/notice',
  component: Layout,
  redirect: '/notice/index',
  children: [{
    path: 'index',
    name: '消息管理',
    meta: {
      i18n: '',
      keepAlive: false
    },
    component: () =>
      import( /* webpackChunkName: "views" */ '@/views/system/notice/index')
  }]
}, {
  path: '/shareFile',
  name: '分享',
  component: () =>
    import( /* webpackChunkName: "page" */ '@/views/general/file/shareFile'),
  meta: {
    keepAlive: true,
    isTab: false,
    isAuth: false
  }
},{
  path: '/file/generalFileInfo2',
  name: '分享',
  component: () =>
    import( /* webpackChunkName: "page" */ '@/views/general/file/generalFileInfo2'),
  meta: {
    keepAlive: true,
    isTab: false,
    isAuth: false
  }
},{
  path: '/file/sysOrgInfo',
  name: '分享',
  component: () =>
    import( /* webpackChunkName: "page" */ '@/views/example/sysOrgInfo'),
  meta: {
    keepAlive: true,
    isTab: false,
    isAuth: false
  }
},
/**=============wps 路由配置============ */
{
  path: '/viewFile',
  name: '在线文档',
  component: () =>
    import( /* webpackChunkName: "page" */ '@/views/wps/view/viewFile'),
},
/**=============website 路由配置============ */
{
  path: '/website/questionSheet',
  name: '问卷答题',
  component: () =>
    import( /* webpackChunkName: "page" */ '@/views/website/questionSheet'),
  meta: {
    keepAlive: true,
    isTab: false,
    isAuth: false
  }
},
{
  path: '/website/login',
  name: '用户登录',
  component: () =>
    import( /* webpackChunkName: "website" */ '@/views/website/login'),
  meta: {
    keepAlive: true,
    isTab: false,
    isAuth: false
  }
},
{
  path: '/website/register',
  name: '用户注册',
  component: () =>
    import( /* webpackChunkName: "website" */ '@/views/website/register'),
  meta: {
    keepAlive: true,
    isTab: false,
    isAuth: false
  }
},
{
  path: '/website/addOrgInfo',
  name: '添加新机构信息',
  component: () =>
    import( /* webpackChunkName: "website" */ '@/views/website/addOrgInfo'),
  meta: {
    keepAlive: true,
    isTab: false,
    isAuth: false
  }
},
{
  path: '/website/addOrgSuccess',
  name: '添加新机构信息',
  component: () =>
    import( /* webpackChunkName: "website" */ '@/views/website/addOrgSuccess'),
  meta: {
    keepAlive: true,
    isTab: false,
    isAuth: false
  }
},{
  path: '/website/registerSuccess',
  name: '注册成功',
  component: () =>
    import( /* webpackChunkName: "website" */ '@/views/website/registerSuccess'),
  meta: {
    keepAlive: true,
    isTab: false,
    isAuth: false
  }
},{
  path: '/website/report',
  name: '报表',
  component: () =>
    import( /* webpackChunkName: "website" */ '@/views/system/maintain/reportTool'),
  meta: {
    keepAlive: true,
    isTab: false,
    isAuth: false
  }
},{
  path: '/plan/bizPlanManage',
  name: '报表',
  component: () =>
    import( /* webpackChunkName: "website" */ '@/views/biz/plan/bizPlanManage'),
  meta: {
    keepAlive: true,
    isTab: false,
    isAuth: false
  }
},

/**=============sixteen 路由配置============ */
{
  path: '/sixteen/questionSheet',
  name: '问卷答题',
  component: () =>
    import( /* webpackChunkName: "page" */ '@/views/sixteen/questionSheet'),
  meta: {
    keepAlive: true,
    isTab: false,
    isAuth: false
  }
},
{
  path: '/sixteen/login',
  name: '用户登录',
  component: () =>
    import( /* webpackChunkName: "website" */ '@/views/sixteen/login'),
  meta: {
    keepAlive: true,
    isTab: false,
    isAuth: false
  }
},

{
  path: '/sixteen/submitSuccess',
  name: '添加新机构信息',
  component: () =>
    import( /* webpackChunkName: "website" */ '@/views/sixteen/submitSuccess'),
  meta: {
    keepAlive: true,
    isTab: false,
    isAuth: false
  }
},{
  path: '/website/registerSuccess',
  name: '注册成功',
  component: () =>
    import( /* webpackChunkName: "website" */ '@/views/website/registerSuccess'),
  meta: {
    keepAlive: true,
    isTab: false,
    isAuth: false
  }
},{
  path: '/website/report',
  name: '报表',
  component: () =>
    import( /* webpackChunkName: "website" */ '@/views/system/maintain/reportTool'),
  meta: {
    keepAlive: true,
    isTab: false,
    isAuth: false
  }
},{
  path: '/plan/bizPlanManage',
  name: '报表',
  component: () =>
    import( /* webpackChunkName: "website" */ '@/views/biz/plan/bizPlanManage'),
  meta: {
    keepAlive: true,
    isTab: false,
    isAuth: false
  }
}
]